home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19950726-19950929 / 000244_news@columbia.edu_Tue Aug 29 12:53:37 1995.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA25287
  2.   (5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Tue, 29 Aug 1995 08:53:43 -0400
  3. Received: by apakabar.cc.columbia.edu id AA13444
  4.   (5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Tue, 29 Aug 1995 08:53:42 -0400
  5. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  6. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  7. Newsgroups: comp.protocols.kermit.misc
  8. Subject: Re: Kermit Waiting ...
  9. Date: 29 Aug 1995 12:53:37 GMT
  10. Organization: Columbia University
  11. Lines: 52
  12. Message-Id: <41v2kh$d42@apakabar.cc.columbia.edu>
  13. References: <41ur8a$4ns@news.Ieunet.ie>
  14. Nntp-Posting-Host: watsun.cc.columbia.edu
  15. Apparently-To: kermit.misc@watsun.cc.columbia.edu
  16.  
  17. In article <41ur8a$4ns@news.Ieunet.ie>,
  18. Eoin Bairead <ebairead@login.ieunet.ie> wrote:
  19. : I've a Kermit .ini file on a PC (3.14) which automatically LOGS IN to a
  20. : VAX, kicks of a (fairly) long job, and then GETs the job's output
  21. : through a SERVER command on the VAX.
  22. : The VAX job can take 1 minute (optimal) or 10 minutes (backup running)
  23. : VAX KERMIT is kicked off in SERVER mode as soon as it finishes.
  24. : My .INI commands are
  25. : output \64LONGJOB\13     ; @LONGJOB
  26. : input 9999 machine.      ; get the "machine." prompts 
  27. : input   10 machine.      ; from VAX KERMIT
  28. : get OUTPUTFL.DAT         ; get the VAX output
  29. : what happens is that I get the File Transfer screen showing WHILE THE
  30. : VAX JOB IS STILL RUNNING, and the File Transfer process falls over for
  31. : retries.
  32. : Am I doing something wrong.
  33. You need to handle failures after each INPUT statement, for example:
  34.  
  35.   INPUT 9999 machine
  36.   IF FAIL STOP 1 Failed - No Kermit server within 9999 seconds.
  37.  
  38. 9999 seconds is 166 minutes, which should be more than ample time.
  39. On the off-chance that some counter is overflowing, maybe you could get
  40. by with a smaller number, like 1000, which would be 16 minutes.
  41.  
  42. More likely, however, something interfered with Kermit during the long
  43. INPUT wait.  Maybe you touched the keyboard, or maybe something is
  44. messing with your PC's timer chip.  You can add all sorts of debugging
  45. capacity to your script to narrow down what is happening, for example:
  46.  
  47.   ECHO Long INPUT begins at \v(time)
  48.   INPUT 1000 machine
  49.   IF FAIL STOP 1 Failed - No Kermit server at \v(time)
  50.  
  51. : LONGJOB.COM finishes up with
  52. : $ KERMIT SERVER ! KERMIT is a symbol - $SYS$SYSTEM:KERMIT
  53. I'd also recommend you convert from Kermit-32 to C-Kermit 5A(190).
  54. Not only does it work better and faster, but it has a much more meaningful
  55. message that you can look for:
  56.  
  57. KERMIT READY TO SERVE...
  58.  
  59. More info about current Kermit versions at http://www.columbia.edu/kermit/
  60.  
  61. - Frank